const {
	Controller
} = require("uni-cloud-router");

module.exports = class EntitlementController extends(
	Controller
) {
	async add(event, context) {
		return this.service.entitlement.add(event.event);
	}
	async update(event, context) {
		return this.service.entitlement.update(event.event);
	}
	async get(event, context) {
		return this.service.entitlement.get(event.event);
	}
	async switchStatus(event, context) {
		return this.service.entitlement.switchStatus(event.event);
	}
	async getRecharge(event, context) {
		return this.service.entitlement.getRecharge();
	}
	async rechargeMobile(event, context) {
		return this.service.entitlement.rechargeMobile(event);
	}
	async buyRefound(event, context) {
		return this.service.entitlement.buyRefound(event);
	}
	async rechargeRefound(event, context) {
		return this.service.entitlement.rechargeRefound(event);
	}
	async getTradeComplainInfos(event, context) {
		return this.service.entitlement.getTradeComplainInfos(event);
	}
	async sumbitTradeComplainInfos(event, context) {
		return this.service.entitlement.sumbitTradeComplainInfos(event);
	}
	async updatePayAccount(event, context) {
		return this.service.entitlement.updatePayAccount(event);
	}
	async updateApplet(event, context) {
		return this.service.entitlement.updateApplet(event);
	}
	async balanceRecharge(event, context) {
		return this.service.entitlement.balanceRecharge(event);
	}
	async balanceGet(event, context) {
		return this.service.entitlement.balanceGet(event);
	}
};